package cn.huihuo.weibo.module;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

/**
 * Created by zhengjunbo on 2015/10/30.
 */
public class Boutique extends Model<Boutique> {
    public static final Boutique boutique = new Boutique();
    public Page<Boutique> findBoutiquePage(Integer pageNum,Integer count){
        return paginate(pageNum,count," select * "," from boutique order by b_time desc");
    }
}
